﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Vapeur
{
    public class Track
    {
        public string Name { get; set; }
        public string Artist { get; set; }
        public SearchType SearchType { get; set; }

        public override string ToString()
        {
            if (this.SearchType == SearchType.Artist)
            {
                return this.Name;
            }
            return this.Artist + " - " + this.Name;
        }
    }
}
